﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Sherwood.SignOn.Server.Models.ViewModels.ChangePasswordViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%= Translations.ChangePassword_Title %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2><%= Translations.ChangePassword_Title %></h2>

    <p><%= Translations.ChangePassword_Message.Parameterize(Model) %></p>
    
    

    <%= HttpUtility.HtmlDecode(Html.ValidationMessage("") != null ? Html.ValidationMessage("").ToHtmlString() : "") %>
    <br />
    
    <% Html.BeginForm(); %>
    <div class="input-title"><%= Translations.ChangePassword_Password %></div>
    <div class="input"><%= Html.Password("NewPassword1") %><%= Html.ValidationMessage("NewPassword1") %></div>
    <div class="input-title"><%= Translations.ChangePassword_Confirm_Password %></div>
    <div class="input"><%= Html.Password("NewPassword2") %><%= Html.ValidationMessage("NewPassword2") %></div>
    <div class="submit"><input type="submit" value="<%= Translations.ChangePassword_Change_Button %>" /></div>
    
    <% Html.EndForm(); %>
</asp:Content>
